using System.Collections.Generic;
using Toast.Core.Interfaces;

namespace Toast.Core
{
    public abstract class InjectionFormatter : IInjectionFormatter
    {
        readonly string _injectionFormatString;

        protected InjectionFormatter(string injectionFormatString)
        {
            _injectionFormatString = injectionFormatString;
        }

        public abstract string Format(IContent javaScriptContent, bool seperate);
        public abstract string Format(IEnumerable<IContent> script, bool seperate);

        public string InjectionFormatString
        {
            get { return _injectionFormatString; }
        }

    }
}